package fr.thread.threadfactory.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import fr.thread.threadfactory.R;

public class ThreadFactoryProjectActivity extends Activity {
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    
        
        setContentView(R.layout.main);
    }
    
    public void onCallChapter(View target){
    	int sourceID = target.getId();
    	
    	Intent intent = new Intent();
    	
    	if (sourceID == R.id.intentsActivity){
    		intent.setClass(this, IntentsActivity.class);
    		startActivity(intent);
    	}else if (sourceID == R.id.interfaceActivity){
    		intent.setClass(this, InterfaceActivity.class);
    		startActivity(intent);
    	}
    	
    }
}